<?php
/**
 * Created by PhpStorm.
 * User: Lenovo
 * Date: 2020/7/18
 * Time: 21:49
 */

namespace app\api\model\admin;


class ShopUser extends BaseAdmin
{
    public static function getByOpenID($openid){
        $shopUser=self::where('open_id','=',$openid)->find();
        return $shopUser;
    }
}